
/** PREVENT INITIAL VISIBILITY OF ITEMS START **/

.gridzy > *,
.gridzyMain > * {
	visibility: hidden;
}

.gridzy > .gridzyContainer,
.gridzyMain > .gridzyContainer {
	visibility: visible;
}

/** PREVENT INITIAL VISIBILITY OF ITEMS END **/


/** SKIN ClassicFig START **/

.gridzyClassicFig .gridzyItem {
	overflow: hidden;
}

.gridzyClassicFig figure {
	margin: 0;
}

.gridzyClassicFig .gridzyItem figure > * {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.gridzyClassicFig .gridzyItem figure > * > img {
	vertical-align: middle;
}

.gridzyClassicFig .gridzyItem figure > * > img + * {
	position: absolute;
}

.gridzyClassicFig .gridzyItemContent > a > img {
	width: 100%;
	height: 100%;
}

.gridzyClassicFig .gridzyItemContent > a > img + * {
	/* IE8 support */ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAQMAAAAk8RryAAAAA1BMVEUAAACnej3aAAAAAXRSTlOzEo46UAAAAA1JREFUeF5jGFRgFAAAAZAAAdRpvjsAAAAASUVORK5CYII=");
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	margin: 0;
	padding: 0.5em;
	position: absolute;
	bottom: -500px;
	left: 0;
	width: 100%;
	max-height: 100%;
	overflow: auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	transition: bottom 0.5s;
	-webkit-transition: bottom 0.5s;
}

/* Google Chrome bug-fix start */
.gridzyClassicFig .gridzyItemContent > a > img:hover + * {
}
/* Google Chrome bug-fix end */

.gridzyClassicFig .gridzyItem:hover .gridzyItemContent > a > img + * {
	bottom: 0;
}

/** SKIN ClassicFig END **/



/** ANIMATION START  **/

.gridzyAnimated .gridzyItem {
	left: 50%;
	top: 50%;
	transition: transform 0.5s, left 0.5s, top 0.5s, width 0.5s, height 0.5s, font-size 0.5s;
	-webkit-transition: -webkit-transform 0.5s, left 0.5s, top 0.5s, width 0.5s, height 0.5s, font-size 0.5s;
}

.gridzyAnimated .gridzyContainer {
	height: 0;
	transition: height 0.5s;
	-webkit-transition: height 0.5s;
}

/** ANIMATION END  **/
